//
//  EKCellModel.m
//  Eakay
//
//  Created by zach on 2018/12/13.
//  Copyright © 2018年 恒天易开软件科技股份有限公司. All rights reserved.
//

#import "EKCellModel.h"

@implementation EKCellModel
@synthesize title;
@synthesize selector;
@synthesize reuseIdentifier;

+ (EKCellModel *)cellModelWithTitle:(NSString *)title
                           selector:(SEL)selector
{
    return [self cellModelWithTitle:title selector:selector model:nil];
}

+ (EKCellModel *)cellModelWithTitle:(NSString *)title
                           selector:(SEL)selector
                              model:(void (^)(EKCellModel *model))make
{
    EKCellModel *model = [[EKCellModel alloc] init];
    model.title = title;
    model.selector = selector;
    model.reuseIdentifier = @"Cell";
    make ? make(model) : nil;
    return model;
}

@end
